package com.xyht.medicine_management_system.auth.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

@Getter
@Setter
public class Node{
    private Integer id;

    @ApiModelProperty(value = "父级id")
    private Integer parentId;

    @ApiModelProperty(value = "机构名称")
    private String orgName;

    @ApiModelProperty(value = "层级")
    private String level;

    @ApiModelProperty(value = "机构简介")
    private String orgInfo;
    private List<Node> childNodeList;
}
